Java Program for leap year